﻿@{
    if(ViewBag.keyword==null)
    {
        ViewBag.keyword = "旅游 攻略 旅游产品 各地风光 美景 美女";
    }
    if (ViewBag.description==null)
    {
        ViewBag.description = "发布旅游资讯 领略各国风情 漫游各地名胜";
    }
}
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>跟着磨叽驴一起游天下 @ViewBag.Title</title>
    <meta property="qc:admins" content="232630636175746375" />
    <meta property="wb:webmaster" content="15fd126d95110183" />
    <link href="/css/images/logo_icon.png" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keyword" content="@ViewBag.keyword">
    <meta name="description" content="@ViewBag.description">
    <meta name="author" content="覃乃林">
    <!--[if lt IE 9]>
      <script src="~/js/html5.js"></script>
    <![endif]-->
    @Styles.Render("~/js/bootstrap/css/css")
    @Styles.Render("~/css/themes/base/css")
    @Scripts.Render("~/js/jquery")
    @RenderSection("header",false)
    <link href="~/css/lvyougl.css" rel="stylesheet" />
</head>

<body class="preview" id="top" data-spy="scroll" data-target=".subnav" data-offset="80" style="margin-top: 0px;">

    <!-- Navbar
    ================================================== -->
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>
                <a class="brand" href="/">驴友攻略</a>
                <div class="nav-collapse collapse" id="main-menu">
                    <ul class="nav" id="main-menu-left">
                        <li tag="article" ><a  href="/Article">攻略游记</a></li>
                        <li tag="photo" ><a id="swatch-link" href="/photo">秀色可餐</a></li>
                        <li tag="area" class="dropdown" id="preview-menu">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="/area">周游列国 <b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a  href="/area/1">亚洲</a></li>
                                <li><a  href="/area/2">欧洲</a></li>
                                <li><a  href="/area/3">大洋洲</a></li>
                                <li><a  href="/area/4">北美洲</a></li>
                                <li><a  href="/area/5">南美洲</a></li>
                                <li><a  href="/area/6">非洲</a></li>
                                <li><a  href="/area/7">南极洲</a></li>
                            </ul>
                        </li>
                    </ul>
                    <div style="width:20%;float:left;"><img width="35" style="float:right;width:35px;" src="/css/images/logo_icon.png" /></div>
                    <ul class="nav pull-right" id="main-menu-right">
                        @if (LoginModel.User.Uid>0)
                        { 
                            <li class="dropdown" >
                                <a class="dropdown-toggle" data-toggle="dropdown"  title="" style="padding:0px;margin-top:8px;overflow:hidden;height:30px;"  ><img width="30" style="width:30px;" src="@StaticCs.ImageUrl/img/Artwork?file=@LoginModel.User.Header" /><b class="caret"></b></a>
                            <ul class="dropdown-menu" style="min-width:initial;">
                                <li><a  href="/@LoginModel.User.Uid" ><i class="icon-home"></i>个人中心</a></li>
                                <li><a  href="/@LoginModel.User.Uid/article"><i class="icon-list-alt"></i>游记</a></li>
                                <li><a  href="/@LoginModel.User.Uid/photo"><i class="icon-picture"></i>图库</a></li>
                                <li><a  href="/@LoginModel.User.Uid/info"><i class="icon-cog"></i>设置</a></li>
                                <li class="divider"></li>
                                <li><a  href="/login/loginout" ><i class="icon-off"></i>退出</a></li>
                            </ul>
                        </li>
                        }else{
                        <li><a rel="tooltip" href="/login/QQLogin" title=""  data-original-title="QQ登录"><img src="/css/images/login_qq.jpg" /></a></li>
                        <li><a rel="tooltip" href="/login/WeiboLogin" title=""  data-original-title="新浪微博"><img src="/css/images/login_sina.jpg" /></a></li>
                        <li><a rel="tooltip"  href="/login" title=""  data-original-title="欢迎回来！">登录<i class="icon-share-alt"></i></a></li>
                        <li><a rel="tooltip"  href="/login/Register" title=""  data-original-title="加入lvyougl">注册 <i class="icon-share-alt"></i></a></li>
                        }
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="container">
        @RenderSection("otherheader", false)
        @RenderBody()
        <div style="clear:both;"></div>
        <!-- Footer
      ================================================== -->
        <hr>

        <footer id="footer">
            <p class="pull-right"><a id="backtotop" class="btn" href="javascript:" style="display:none;right:20px;"><strong>回到<br/>顶部</strong></a></p>
            <div class="links">
                <a >帮助</a>
                <a >关于</a>
                <a >团队</a>
                <a >API</a>
            </div>
            网站由<a target="_blank" href="http://qinnailin.cn">凤鸣</a>工作室开发所有  <a href="http://www.miitbeian.gov.cn" target="_blank" > 浙ICP备12040208号-2 </a><p></p>
        </footer>

    </div>
    <!-- /container -->



    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->

    @Scripts.Render("~/js/bootstraps")
    @Scripts.Render("~/js/jqueryui")
    @RenderSection("scripts", false)
    
    <div>
    </div>
    <script type="text/javascript">
        function showloginDialog()
        {
            showloading();
            $.get("/login/OpenBoxLogin", function (html) {
                closemodal();
                $("#basic-modal-content").html(html).modal({ title: "用户登录" });
            });
        }
    </script>
</body>
</html>
